package com.xc.ksxt.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xc.common.object.BaseEntity;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class LibQuestionEntity {
	private String id;
	private Integer libId;
	private Integer state;
	private Integer code;
	private String tag;
	private String knowledge;
	private String categoryId;
	private String collegeId;
	private String paperId;
	private String text;
	private String analysis;
	private String answerText;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private LocalDate lastUseDate;
	private BigDecimal score;
	private Integer orderno;
	private Integer testType;
	private Integer paperType;
	private Integer studentType;
	private Integer ignoreRepeat;
	private String grade;
	private String gradeYear;
	private Integer testPhase;
	private String chapterId;
	private Integer questionType;
	private Integer difficulty;
	private Integer source;
	private Integer recordId;//导入记录ID
	private Integer delFlag;
	private String majorId;
	private String pianId;
	private Integer jieId;
	private Integer lg;//语言
	private Integer semester;//学期
	private Integer contentType;//试题类型，例如应用、理论、理论结合应用
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;
	private String createUserId;
}
